//
//  XQJSHandler.h
//  JoinPeso
//
//  Created by 小琦 on 2024/11/28.
//

#import <Foundation/Foundation.h>
#import <WebKit/WebKit.h>

NS_ASSUME_NONNULL_BEGIN

@interface XQJSHandler : NSObject<WKScriptMessageHandler>
@property (nonatomic,weak,readonly) XQBaseViewController * webVC;
@property (nonatomic,strong,readonly) WKWebViewConfiguration * configuration;

-(instancetype)initWithViewController:(XQBaseViewController *)webVC configuration:(WKWebViewConfiguration *)configuration;

-(void)cancelHandler;
@end

NS_ASSUME_NONNULL_END
